//
// Created by PC on 2023/9/14.
//


#include <iostream>

using namespace std;

int main()
{

    freopen("./input.txt","r",stdin);
//    freopen("output.txt","w",stdout);
    int i,n;
    cin>>n;
    cout<<n<<endl;
//    while(scanf("%d",&i)==1)
    while(cin>>i)
    {
        printf("%d ",i);
    }
    fclose(stdin);
    return 0;
}